package org.dmikis.jmmengine.viewes;

import javax.swing.*;

/**
 * @author dmikis
 * @version 0.1
 * 
 * Implementation of status bar - panel on bottom of the main frame.
 * Indicates application status.
 */
@SuppressWarnings("serial")
public class StatusBar extends JPanel {
    
    /**
     * Create new <code>StatusBar</code> instance.
     */
    public StatusBar() {
	super();
	add(this.barContent);
    }
    
    /**
     * Set new status.
     * 
     * @param status string with status
     */
    public void setStatus(String status) {
	this.barContent.setText(status);
    }

    protected JLabel barContent = new JLabel("Status Bar");
}
